/* TestUtils.h
 * 
 * Additional utilities for multithreading.
 * 
 * Created by Penrillian, Smartphone Software Innovators 
 * See http://www.penrillian.com
*/
#ifndef __TestUtils_h__
#define __TestUtils_h__

#include <e32base.h>

namespace TestUtils
{

	TBool WaitForActiveSchedulerStopL( TInt aTimeoutSeconds );
	enum TThreadWaitOption { EWaitForExit, ENoWaitForExit }; 
	void RunInSeparateThreadL( const TCallBack& aFunctionToRun, TThreadWaitOption aWaitForExit = EWaitForExit  );
};

#endif // __TestUtils_h__